package chapter02;

public class Training06 {
    public static void main(String[] args) {
        pringTriangle(13);


    }

    public static void pringTriangle(int height) {
                for(int i =0;i<height;i++){
                    for (int z = 0; z<height -i; z++){
                        System.out.println(" ");
                    }
                    for (int j =0; j<(2*i -1);i++){
                        System.out.println("*");
                    }
                }

        System.out.print("\n");
    }

}
